﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using LanSunStudio.Core.Database;
using LanSunStudio.Core.Events;

namespace LanSunStudio.Service.RTIService
{ 
    public class Fedration
    {
        #region--------------------Constructor-------------------
        Fedrate ThisFedreate;
        string CallBackPath;
        ArrayList FedrateList;
        public Fedration()
        {
            FedrateList = new ArrayList();
            CallBackPath = Guid.NewGuid().ToString().ToUpper();
            ThisFedreate = new Fedrate("Master", CallBackPath, this);
            FedrateList.Add(ThisFedreate); 
        }
        #endregion
        #region--------------------Constructor-------------------
        public void Add(Fedrate newMember)
        {
            try
            {
                FedrateList.Add(newMember);
            }
            catch (Exception ex)
            {
                Tracer.Error(ex.StackTrace, ex);
            }
        }
        #endregion
        #region--------------------Constructor-------------------

        #endregion
        #region--------------------Constructor-------------------

        #endregion
        #region--------------------Constructor-------------------

        #endregion
        #region--------------------Constructor-------------------

        #endregion
    }
}
